<?php
require_once 'AbstractBuilder.php';
require_once 'product/SetMealB.php';
require_once 'product/Cola.php';
require_once 'product/FrenchFries.php';
require_once 'product/Hamburger.php';
use example\builder\product\SetMealB;
use example\builder\product\Cola;
use example\builder\product\FrenchFries;
use example\builder\product\Hamburger;
/**
 * 具体建造者B
 * Class ConcreteBuilderB
 * 套餐B
 */
class ConcreteBuilderB extends AbstractBuilder
{
    protected $setMealB;
    public function createSetMeal()
    {
        $this->setMealB = new SetMealB();
    }
    public function getSetMeal()
    {
        return $this->setMealB;
    }
    /**
     * 可乐
     */
    public function addCola()
    {
        $this->setMealB->setPart("cola",new Cola());
    }
    /**
     * 薯条
     */
    public function addFrenchFries()
    {
        $this->setMealB->setPart("frenchFries",new FrenchFries());
    }
    /**
     * 汉堡
     */
    public function addHamburger()
    {
        $this->setMealB->setPart("hamburger",new Hamburger());
    }
    public function addBlackTea()
    {
        // TODO: Implement addBlackTea() method.
    }
    public function addChickenRolls()
    {
        // TODO: Implement addChickenRolls() method.
    }
    public function addChickenWings()
    {
        // TODO: Implement addChickenWings() method.
    }
    public function addCoffee()
    {
        // TODO: Implement addCoffee() method.
    }
    public function addEggTart()
    {
        // TODO: Implement addEggTart() method.
    }
    public function addTeaWithMilk()
    {
        // TODO: Implement addTeaWithMilk() method.
    }
}
